<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>商品详情</title>
	<link href="__INDEX__/css/mui.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="__INDEX__/css/style.css" />
	<link rel="stylesheet" href="__INDEX__/css/iconfont.css" />
	<link rel="stylesheet" href="__INDEX__/css/mall.css" />
	<script src="__PUBLIC__/static/js/jquery.min.js"></script>
</head>

<body>

	<header class="mui-bar mui-bar-nav show_bar_nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">
			<a href="#sp" class="active goodsshow1">商品</a>
			<a href="#xq" class="goodsshow2">详情</a>
			<a href="#pj">评价</a>
		</h1>
	</header>
	<nav class="mui-bar mui-bar-tab footer-list">
		<a class="mui-tab-item mui-active" href="{:url('index/index')}">
			<span class="mui-icon iconfont icon-mendian" style="font-size: 18px;padding-top: 3px;"></span>
			<span class="mui-tab-label">发现</span>
		</a>
		<a class="mui-tab-item" href="{:url('member/index')}">
			<span class="mui-icon iconfont icon-wode" style="font-size: 20px;padding-top: 1px;"></span>
			<span class="mui-tab-label">我的</span>
		</a>
		<a class="mui-tab-item" href="{:url('pay',['goods_id'=>$goods.id])}" style="background: #EF2F72; color: white; width: 1.5%;">
			<span class="mui-tab-label" style="font-size: 18px;">立即购买</span>
		</a>
	</nav>
	<div class="mui-content" id="sp">
		<div class="spxq_slider">
			<img id="topimg_1" src="{$goods.thumb|default='/public/static/index/images/banner_hhr.jpg'}">
		</div>
		<div class="xqy_top">
			<div class="spxq_nambox clearfix">
				<p class="show_nam" id="goods_name">{$goods.goods_name}</p>		
			</div>
			<div class="xqy_pribox clearfix">
				<span class="xqy_pri"><i>会员价：</i>¥<em id="grabneed_money">{$goods.sale_price}</em></span>								
				<span class="xqy_jif">鼓励金抵扣<em id="grabneed_score">{$goods.dk_price}</em></span>	
				<!--<div class="xqy_btn"><a href="{:url('pay',['goods_id'=>$goods.id])}">立即购买</a></div>-->
			</div>
			<ul class="xqy_klist clearfix">
				<li class="left">库存：<em id="">{$goods.stock}</em></li>
				<li id="goods_sales">销量：{$goods.sales}</li>	
				<li style="text-align: right; padding-right: 3px;"><em>到店消费</em></li>							
			</ul>
		</div>
		<div class="xqy_conbox" id="xq">
			<div class="xqy_spbt"><img src="/public/static/index/images/bt_spxq.jpg"></div>
			<!--<div class="xqy_nrnone" id="">~</div>-->
			<div class="xqy_spxq" id="xq_goods">
					{$goods.content}			
			</div>
		</div>
		<div class="xqy_pjbox" id="pj">
			<div class="xqy_spbt"><img src="/public/static/index/images/bt_sppj.jpg"></div>
			<div class="xqy_pjnr">
				<div class="xqy_pjnone" style="display: none;">该商品暂无评价~</div>
				<ul class="xqy_pjlist" id="cut_pinjia">
					{volist name="comments" id="c"}
					<li>
						<div class="xqy_pjlis_mem">
							<span class="xqy_pjlis_memtx"><img src="{if $c.user_thumb}{$c.user_thumb}{else}__PUBLIC__/static/index/images/member.jpg{/if}"></span>
							<span class="xqy_pjlis_memnam">{$c.mobile}</span>
							<span class="pjstar star05"></span>
						</div>
						<div class="xqy_pjlis_time">
							<span>{$c.add_time}</span>
						</div>
						<div class="xqy_pjlis_info">{$c.content}</div>
						<div class="xqy_pjlis_info" id="imglist">
							{if $c.img_url}
							{volist name='c.imgs' id="img"}							
							<img src="{$img}" />
							{/volist}
							{/if}
						</div>
					</li>
					{/volist}
				</ul>
				<div class="xqy_pjbtn evaluation">
					<a href="#" id="all_pinjia">查看全部评价</a>
				</div>
			</div>
		</div>
		<!--<div class="xqy_btn"><a href="{:url('pay',['goods_id'=>$goods.id])}">立即购买</a></div>-->
	</div>
</body>
</html>
{include file="public/footer" /}